package com.liao.service;

import com.liao.bean.Count;
import com.liao.bean.result.PageResult;

public interface CountService {
    /**
     * 根据账号模糊查询会员列表
     * @param currentPage
     * @param pageSize
     * @param orderId
     * @return
     * @throws Exception
     */
    PageResult<Count> queryCountListByPage(Integer currentPage, Integer pageSize, String orderId) throws Exception;

    /**
     * 添加会员
     * @param count
     * @throws Exception
     */
    void addCount(Count count) throws Exception;

    /**
     * 修改会员
     * @param count
     * @throws Exception
     */
    void editCount(Count count) throws Exception;

    /**
     * 根据id删除会员
     * @param ocid
     * @throws Exception
     */
    void deleteCount(String ocid) throws Exception;
}
